<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link type="text/css" rel="stylesheet" href="/public/static/H-ui/static/h-ui/css/H-ui.min.css"/>
    <link type="text/css" rel="stylesheet" href="/public/static/system/system.css">
    <title>Document</title>
    <style>
        body{ 
            padding: 50px;
        }
    </style>
</head>
<body>
    <div class="pt">
        <a href="javascript:history.back(-1);">&lt&lt返回学生管理</a>
    </div>
    <div>
        <form action="{:url('index/Classes/doaddstudent')}" method="POST" role="form">
            <fieldset class="fw">
                <legend class="w">添加课程</legend>
                <div>
                    <label class="hint">{$hint}</label>
                </div>
                <div>
                    <label class="col-md-3 pt pp">学生编号(账号/学号):</label>
                    <div class="col-md-7">
                        <input type="text" class="input-text input-w radius size-L" name="Id" id="Id" placeholder="请输入学生编号(账号/学号)">
                    </div>
                </div>

                <div class="col-md-10 center">
                    <div class="col-md-3"></div>
                    <div class="col-md-3">
                        <button type="submit" class="btn btn-default">添加</button>
                    </div>
                </div>
            </fieldset>
        </form>
    </div>
    <script type="text/javascript" src="/public/static/H-ui/lib/jquery/1.9.1/jquery.min.js"></script>
    <script>
        $("input").focus(function(){
            $(".hint").html("");
        })
        $("select").focus(function(){
            $(".hint").html("");
        })
        $("#re").click(function(){
            $("#Id").val("");
        })
    </script>
</body>
</html>